renovia_70920
12/01/2025, 10:42 PMAI Evy
12/01/2025, 10:42 PMAI Evy
12/01/2025, 10:42 PMAI Evy
12/01/2025, 10:42 PMAI Evy
12/01/2025, 10:42 PMAI Evy
12/01/2025, 10:42 PMrenovia_70920
12/02/2025, 5:30 AMAI Evy
12/02/2025, 5:30 AMAI Evy
12/02/2025, 5:30 AMAI Evy
12/02/2025, 5:30 AMAI Evy
12/02/2025, 5:30 AMrenovia_70920
12/02/2025, 5:32 AMAI Evy
12/02/2025, 5:32 AMAI Evy
12/02/2025, 5:32 AMAI Evy
12/02/2025, 5:33 AMAI Evy
12/02/2025, 5:33 AMAI Evy
12/02/2025, 8:26 PMrenovia_70920
12/02/2025, 8:26 PMAI Evy
12/02/2025, 8:26 PMretell_llm_dynamic_variables field , and you can also update them mid-call using the Update Call API's override_dynamic_variables parameter [(2) ]() .
Additionally, agents can extract and store dynamic variables in real-time during conversations using the Extract Dynamic Variables tool [(3) ]() [(4) ]() . These extracted variables become part of the call's dynamic variables and are accessible to subsequent agents in the transfer chain [(4) ]() .
How it works:
- Dynamic variables are call-scoped, not agent-scoped [(1) ]()
- When you transfer from Agent A to Agent B, Agent B has access to all dynamic variables set during the call
- Variables extracted by Agent A using the Extract Dynamic Variables tool are available to Agent B [(3) ]() [(4) ]()
This means if your first agent (Renovia) extracts customer information like name or service type, your second agent (RenovaPLUS) can reference those same variables using the {{variable_name}} syntax in its prompts or tool configurations [(1) ]() .AI Evy
12/02/2025, 8:26 PMAI Evy
12/02/2025, 8:27 PMrenovia_70920
12/02/2025, 8:28 PMAI Evy
12/02/2025, 8:28 PMAI Evy
12/02/2025, 8:29 PMjson
{
"retell_llm_dynamic_variables": {
"variable_name": "value"
}
}AI Evy
12/02/2025, 8:29 PMoverride_dynamic_variables, it could be overwriting or clearing previously set variables . The override_dynamic_variables parameter replaces existing variables rather than merging them .
3. Agent-Level Default Variables
If Agent 2 or Agent 3 has agent-level default dynamic variables configured, these defaults only apply when specific variables aren't included in the call request . However, they shouldn't override variables already set at the call level.
Troubleshooting Steps:
1. Verify your inbound webhook is returning the variables in the retell_llm_dynamic_variables field [(2) ]()
2. Check if any agent in the chain is calling Extract Dynamic Variables or Update Call API that might be overwriting the original variables [(1) ]()
3. Ensure all variable values are strings, not other data types
4. Test with a simple variable to isolate whether the issue is with specific variables or all variables
Dynamic variables are call-scoped, not agent-scoped, so they should persist throughout the entire call lifecycle including multiple agent transfers .
If the issue persists after checking these points, I'd recommend contacting Retell AI support with specific call IDs showing the variable loss, as this may indicate a platform issue with webhook-originated variables not properly persisting through multiple transfers.
---
**AI Evy
12/02/2025, 8:29 PMAI Evy
12/02/2025, 8:29 PMrenovia_70920
12/02/2025, 9:00 PMrenovia_70920
12/02/2025, 11:14 PMAI Evy
12/02/2025, 11:14 PMAI Evy
12/02/2025, 11:14 PM{{variable_name}} syntax . Dynamic variables work in:
- Custom function URLs
- Tool descriptions
- Property descriptions
Example usage in function parameters:
Based on community discussions, when using dynamic variables in function query parameters or descriptions, you should format them as {{variable_name}} [(2) ]() [(3) ]() . For instance, if you have a customer_id dynamic variable, you can use it directly in a function parameter like {{customer_id}} [(3) ]() .
Important note from the community:
If you're extracting variables from API responses and need to access nested properties, use the correct path notation. For example, if you have a response stored in a variable called locations, access the first item's ID as {{data.locations[0].id}} rather than {{locations[0].id}} [(2) ]() .
The dynamic variables are call-scoped and accessible throughout the entire call, including in all function calls, without needing explicit declaration in prompts [(1) ]() .
---AI Evy
12/02/2025, 11:19 PMAI Evy
12/02/2025, 11:19 PMrenovia_70920
12/03/2025, 12:19 AMAI Evy
12/03/2025, 12:19 AMAI Evy
12/03/2025, 12:19 AM{{user_number}} [(1) ]() .
How to use it:
In your custom function configuration, you can include {{user_number}} directly in:
- Query parameters [(2) ]()
- Request headers
- Custom function URLs [(1) ]()
What {{user_number}} contains:
For phone calls, {{user_number}} represents the user's phone number :
- For **inbound calls**: it's the from_number
- For **outbound calls**: it's the to_number
Example usage:
If you're setting up a custom function with query parameters, you can add a parameter like:
- Parameter name: phone
- Parameter value: {{user_number}}
This will automatically populate with the caller's phone number when the function is invoked [(2) ]() [(1) ]() .
Additional phone-related variables:
You also have access to:
- {{agent_number}} - The agent's phone number (to_number for inbound, from_number for outbound) [(1) ]()
- {{from_number}} and {{to_number}} if you need more specific control
These system variables are automatically available throughout the entire call and don't need to be declared or set manually .AI Evy
12/03/2025, 12:19 AMAI Evy
12/03/2025, 12:19 AMrenovia_70920
12/03/2025, 8:58 PMAI Evy
12/03/2025, 8:58 PMAI Evy
12/03/2025, 8:58 PMinbound_agent_id assigned [(1) ]() . Verify that:
- The agent ID is correct
- Agent settings are properly configured
- The agent is published and active
2. Ring Duration Settings
By default, phone ringing lasts 30,000 ms (30 seconds) [(2) ]() [(3) ]() . If you need longer ring times, you can adjust the ring_duration_ms parameter when creating or updating your agent :
json
{
"ring_duration_ms": 30000
}AI Evy
12/03/2025, 8:58 PMinbound_agent_id is correctly assigned to your phone number [(1) ]()
2. Check that your agent is published and active
3. Test with another agent to isolate whether it's an agent-specific issue
4. Try reassigning the phone number (remove and re-add the agent)
5. Check for any call restrictions in your account settings
If the issue persists after these checks, it may be a temporary platform issue that resolves itself .
---AI Evy
12/03/2025, 8:59 PMAI Evy
12/03/2025, 8:59 PM